FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureDefinition/FHIR Server from package de.gematik.erg#1.0.0-CC (141 ms)

Package de.gematik.erg
Type StructureDefinition
Id Id
FHIR Version R4
Source https://simplifier.net/resolve?scope=de.gematik.erg@1.0.0-CC&canonical=https://gematik.de/fhir/erg/StructureDefinition/erg-dokumentenmetadaten
Url https://gematik.de/fhir/erg/StructureDefinition/erg-dokumentenmetadaten
Version 1.0.0-CC
Status active
Date 2024-06-20
Name ERGDokumentenmetadaten
Title ERG Dokumentenmetadaten
Experimental False
Type DocumentReference
Kind resource

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
http://fhir.de/StructureDefinition/identifier-telematik-id Identifier-Profil für die Telematik-ID
https://gematik.de/fhir/erg/StructureDefinition/erg-behandlungsart ERG Extension Behandlungsart
https://gematik.de/fhir/erg/StructureDefinition/erg-docref-fachrichtung ERG DocRef Fachrichtung
https://gematik.de/fhir/erg/StructureDefinition/erg-docref-leistungsart ERG DocRef Leistungsart
https://gematik.de/fhir/erg/StructureDefinition/erg-docref-signature ERG DocRef Signature
https://gematik.de/fhir/erg/StructureDefinition/erg-documentreference-gesamtbetrag ERG DocumentReference Gesamtbetrag
https://gematik.de/fhir/erg/StructureDefinition/erg-documentreference-markierung ERG DocumentReference Markierung
https://gematik.de/fhir/erg/StructureDefinition/erg-documentreference-rechnungsdatum ERG DocumentReference Rechnungsdatum
https://gematik.de/fhir/erg/StructureDefinition/erg-documentreference-zahlungszieldatum ERG DocumentReference Zahlungszieldatum
https://gematik.de/fhir/erg/ValueSet/erg-rechnungsstatus-vs ERG Rechnungsstatus
https://gematik.de/fhir/erg/ValueSet/erg-restricted-mime-types-vs ERG Restricted Mime Types


Source

{
  "resourceType" : "StructureDefinition",
  "id" : "erg-dokumentenmetadaten",
  "url" : "https://gematik.de/fhir/erg/StructureDefinition/erg-dokumentenmetadaten",
  "version" : "1.0.0-CC",
  "name" : "ERGDokumentenmetadaten",
  "title" : "ERG Dokumentenmetadaten",
  "status" : "active",
  "experimental" : false,
  "date" : "2024-06-20",
  "publisher" : "gematik GmbH",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://gematik.de/"
        }
      ]
    }
  ],
  "fhirVersion" : "4.0.1",
  "kind" : "resource",
  "abstract" : false,
  "type" : "DocumentReference",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/DocumentReference",
  "derivation" : "constraint",
  "differential" : {
    "element" : [
      {
        "id" : "DocumentReference",
        "path" : "DocumentReference",
        "constraint" : [
          {
            "key" : "SignaturVerpflichtendRechnung",
            "severity" : "error",
            "human" : "Eine Signature muss vorhanden sein, falls es sich bei der DocumentReference um eine Rechnung handelt.",
            "expression" : "type.coding.where(system = 'http://dvmd.de/fhir/CodeSystem/kdl' and code = 'AM010106').exists() implies extension.where(url = 'https://gematik.de/fhir/erg/StructureDefinition/erg-docref-signature').exists()",
            "source" : "https://gematik.de/fhir/erg/StructureDefinition/erg-dokumentenmetadaten"
          },
          {
            "key" : "RechnungOderAnhang",
            "severity" : "error",
            "human" : "Ein Dokument kann entweder ein Anhang enthalten oder ein Rechnungsdokument inkl. strukturierten Rechnungsinhalten.",
            "expression" : "content.format.where(system = 'https://gematik.de/fhir/erg/CodeSystem/erg-attachment-format-cs' and code = 'rechnungsanhang').exists() xor (content.format.where(system = 'https://gematik.de/fhir/erg/CodeSystem/erg-attachment-format-cs' and code = 'erechnung').exists() and content.format.where(system = 'https://gematik.de/fhir/erg/CodeSystem/erg-attachment-format-cs' and code = 'rechnungsinhalt').exists())",
            "source" : "https://gematik.de/fhir/erg/StructureDefinition/erg-dokumentenmetadaten"
          }
        ]
      },
      {
        "id" : "DocumentReference.meta.extension",
        "path" : "DocumentReference.meta.extension",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.meta.extension:markierung",
        "path" : "DocumentReference.meta.extension",
        "sliceName" : "markierung",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "https://gematik.de/fhir/erg/StructureDefinition/erg-documentreference-markierung"
            ]
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.meta.tag",
        "path" : "DocumentReference.meta.tag",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "pattern",
              "path" : "$this"
            }
          ],
          "rules" : "open"
        },
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.meta.tag:erg-rechnungsstatus",
        "path" : "DocumentReference.meta.tag",
        "sliceName" : "erg-rechnungsstatus",
        "comment" : "Vgl. Abschnitt 4.4.1 Workflow einer Rechnung des Feature-Dokuments E-Rechnung",
        "min" : 0,
        "max" : "1",
        "mustSupport" : true,
        "binding" : {
          "strength" : "required",
          "valueSet" : "https://gematik.de/fhir/erg/ValueSet/erg-rechnungsstatus-vs"
        }
      },
      {
        "id" : "DocumentReference.meta.tag:erg-rechnungsstatus.system",
        "path" : "DocumentReference.meta.tag.system",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.meta.tag:erg-rechnungsstatus.code",
        "path" : "DocumentReference.meta.tag.code",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.extension",
        "path" : "DocumentReference.extension",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.extension:docRef-signature",
        "path" : "DocumentReference.extension",
        "sliceName" : "docRef-signature",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "https://gematik.de/fhir/erg/StructureDefinition/erg-docref-signature"
            ]
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.extension:rechnungsdatum",
        "path" : "DocumentReference.extension",
        "sliceName" : "rechnungsdatum",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "https://gematik.de/fhir/erg/StructureDefinition/erg-documentreference-rechnungsdatum"
            ]
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.extension:zahlungszieldatum",
        "path" : "DocumentReference.extension",
        "sliceName" : "zahlungszieldatum",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "https://gematik.de/fhir/erg/StructureDefinition/erg-documentreference-zahlungszieldatum"
            ]
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.extension:gesamtbetrag",
        "path" : "DocumentReference.extension",
        "sliceName" : "gesamtbetrag",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "https://gematik.de/fhir/erg/StructureDefinition/erg-documentreference-gesamtbetrag"
            ]
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.extension:fachrichtung",
        "path" : "DocumentReference.extension",
        "sliceName" : "fachrichtung",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "https://gematik.de/fhir/erg/StructureDefinition/erg-docref-fachrichtung"
            ]
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.extension:leistungsart",
        "path" : "DocumentReference.extension",
        "sliceName" : "leistungsart",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "https://gematik.de/fhir/erg/StructureDefinition/erg-docref-leistungsart"
            ]
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.extension:behandlungsart",
        "path" : "DocumentReference.extension",
        "sliceName" : "behandlungsart",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "https://gematik.de/fhir/erg/StructureDefinition/erg-behandlungsart"
            ]
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.identifier",
        "path" : "DocumentReference.identifier",
        "comment" : "Eindeutiger Identifikator vergeben durch das RE-PS (z.B. Interne Dokumentennummer). Das System MUSS eindeutig pro Leistungserbringer:in vergeben werden.",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.identifier.system",
        "path" : "DocumentReference.identifier.system",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.identifier.value",
        "path" : "DocumentReference.identifier.value",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.status",
        "path" : "DocumentReference.status",
        "short" : "Dokumentenstatus",
        "comment" : "Versionierung von Dokumenten ist nicht unterstützt. Nur jeweils die aktuelle Version des Dokumentes wird akzeptiert.",
        "patternCode" : "current",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.type",
        "path" : "DocumentReference.type",
        "short" : "Dokumenttyp",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.type.coding",
        "path" : "DocumentReference.type.coding",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "pattern",
              "path" : "$this"
            }
          ],
          "rules" : "open"
        },
        "min" : 1
      },
      {
        "id" : "DocumentReference.type.coding:DokumentenKlassifizierung",
        "path" : "DocumentReference.type.coding",
        "sliceName" : "DokumentenKlassifizierung",
        "short" : "Dokumenttyp gemäß KDL",
        "min" : 0,
        "max" : "1",
        "patternCoding" : {
          "system" : "http://dvmd.de/fhir/CodeSystem/kdl"
        },
        "mustSupport" : true,
        "binding" : {
          "strength" : "required",
          "valueSet" : "https://gematik.de/fhir/erg/CodeSystem/erg-sonstigesdokument-type-vs"
        }
      },
      {
        "id" : "DocumentReference.type.coding:DokumentenKlassifizierung.system",
        "path" : "DocumentReference.type.coding.system",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.type.coding:DokumentenKlassifizierung.code",
        "path" : "DocumentReference.type.coding.code",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.type.coding:DokumentenKlassifizierung.display",
        "path" : "DocumentReference.type.coding.display",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.type.coding:Rechnungstyp",
        "path" : "DocumentReference.type.coding",
        "sliceName" : "Rechnungstyp",
        "min" : 0,
        "max" : "1",
        "patternCoding" : {
          "system" : "http://dvmd.de/fhir/CodeSystem/kdl",
          "code" : "AM010106"
        },
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.subject",
        "path" : "DocumentReference.subject",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.subject.display",
        "path" : "DocumentReference.subject.display",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.author",
        "path" : "DocumentReference.author",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.author.identifier",
        "path" : "DocumentReference.author.identifier",
        "comment" : "Der Fachdienst verknüpft alle Rechnungsdokumente mit der Telematik-ID des einreichenden Akteurs.",
        "min" : 1,
        "type" : [
          {
            "code" : "Identifier",
            "profile" : [
              "http://fhir.de/StructureDefinition/identifier-telematik-id"
            ]
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.author.display",
        "path" : "DocumentReference.author.display",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.description",
        "path" : "DocumentReference.description",
        "short" : "Dokumententitel",
        "comment" : "Menschenlesbarer Titel des Dokumentes, der dem Versicherten in der UI angezeigt wird. Der Titel kann manuell erfasst oder vom Dateinamen/Metadaten abgeleitet werden. z.B. "Laborbefund vom 28.9.2023".",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content",
        "path" : "DocumentReference.content",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "pattern",
              "path" : "format"
            }
          ],
          "rules" : "open"
        },
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content.attachment.url",
        "path" : "DocumentReference.content.attachment.url",
        "comment" : "Der FD muss die Base64-kodierten Daten aus attachment.data extrahieren und in eine Binary-Ressource auslagern."
      },
      {
        "id" : "DocumentReference.content:rechnungspdf",
        "path" : "DocumentReference.content",
        "sliceName" : "rechnungspdf",
        "min" : 0,
        "max" : "1",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:rechnungspdf.attachment",
        "path" : "DocumentReference.content.attachment",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:rechnungspdf.attachment.contentType",
        "path" : "DocumentReference.content.attachment.contentType",
        "comment" : "Zum Zeitpunkt der Veröffentlichung werden nur PDF-Dokumente als Rechnung seitens der Leistungserbringer:in unterstützt.",
        "min" : 1,
        "patternCode" : "application/pdf",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:rechnungspdf.attachment.data",
        "path" : "DocumentReference.content.attachment.data",
        "comment" : "Base64-kodiertes PDF. Dieses Feld muss durch die Applikation der Leistungserbringer:in gefüllt werden.",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:rechnungspdf.attachment.url",
        "path" : "DocumentReference.content.attachment.url",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:rechnungspdf.format",
        "path" : "DocumentReference.content.format",
        "min" : 1,
        "patternCoding" : {
          "code" : "erechnung",
          "system" : "https://gematik.de/fhir/erg/CodeSystem/erg-attachment-format-cs"
        },
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:angereicherteRechnung",
        "path" : "DocumentReference.content",
        "sliceName" : "angereicherteRechnung",
        "min" : 0,
        "max" : "1",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:angereicherteRechnung.attachment",
        "path" : "DocumentReference.content.attachment",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:angereicherteRechnung.attachment.contentType",
        "path" : "DocumentReference.content.attachment.contentType",
        "comment" : "Zum Zeitpunkt der Veröffentlichung werden nur PDF-Dokumente als Rechnung seitens der Leistungserbringer:in unterstützt.",
        "min" : 1,
        "patternCode" : "application/pdf",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:angereicherteRechnung.attachment.data",
        "path" : "DocumentReference.content.attachment.data",
        "comment" : "Die angereicherte Rechnung wird durch den FD direkt als Binary-Ressource unter attachment.url referenziert.",
        "max" : "0"
      },
      {
        "id" : "DocumentReference.content:angereicherteRechnung.attachment.url",
        "path" : "DocumentReference.content.attachment.url",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:angereicherteRechnung.format",
        "path" : "DocumentReference.content.format",
        "min" : 1,
        "patternCoding" : {
          "code" : "angereichertesPDF",
          "system" : "https://gematik.de/fhir/erg/CodeSystem/erg-attachment-format-cs"
        },
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:strukturierterRechnungsinhalt",
        "path" : "DocumentReference.content",
        "sliceName" : "strukturierterRechnungsinhalt",
        "min" : 0,
        "max" : "1",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:strukturierterRechnungsinhalt.attachment",
        "path" : "DocumentReference.content.attachment",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:strukturierterRechnungsinhalt.attachment.contentType",
        "path" : "DocumentReference.content.attachment.contentType",
        "comment" : "Strukturierte Rechnungsinhalte können seitens der Leistungserbringer:in sowohl als JSON als auch XML übergeben werden.",
        "min" : 1,
        "mustSupport" : true,
        "binding" : {
          "strength" : "required",
          "valueSet" : "https://gematik.de/fhir/erg/ValueSet/erg-restricted-mime-types-vs"
        }
      },
      {
        "id" : "DocumentReference.content:strukturierterRechnungsinhalt.attachment.data",
        "path" : "DocumentReference.content.attachment.data",
        "comment" : "Base64-kodierte Repräsentation der Rechnungsinhalte. Dieses Feld muss durch die Applikation der Leistungserbringer:in gefüllt werden.",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:strukturierterRechnungsinhalt.attachment.url",
        "path" : "DocumentReference.content.attachment.url",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:strukturierterRechnungsinhalt.format",
        "path" : "DocumentReference.content.format",
        "min" : 1,
        "patternCoding" : {
          "code" : "rechnungsinhalt",
          "system" : "https://gematik.de/fhir/erg/CodeSystem/erg-attachment-format-cs"
        },
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:anhang",
        "path" : "DocumentReference.content",
        "sliceName" : "anhang",
        "min" : 0,
        "max" : "1",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:anhang.attachment",
        "path" : "DocumentReference.content.attachment",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:anhang.attachment.contentType",
        "path" : "DocumentReference.content.attachment.contentType",
        "comment" : "Zum Zeitpunkt der Veröffentlichung werden nur PDF-Dokumente als Rechnungsanhänge seitens der Leistungserbringer:in unterstützt.",
        "min" : 1,
        "patternCode" : "application/pdf",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:anhang.attachment.data",
        "path" : "DocumentReference.content.attachment.data",
        "comment" : "Base64-kodiertes PDF. Dieses Feld muss durch die Applikation der Leistungserbringer:in gefüllt werden.",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:anhang.attachment.url",
        "path" : "DocumentReference.content.attachment.url",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.content:anhang.format",
        "path" : "DocumentReference.content.format",
        "min" : 1,
        "patternCoding" : {
          "code" : "rechnungsanhang",
          "system" : "https://gematik.de/fhir/erg/CodeSystem/erg-attachment-format-cs"
        },
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.context",
        "path" : "DocumentReference.context",
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.context.related",
        "path" : "DocumentReference.context.related",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "type",
              "path" : "$this.resolve()"
            }
          ],
          "rules" : "open"
        },
        "comment" : "Der Fachdienst verknüpft alle Rechnungsdokumente mit der Rechnungsempfänger:in.",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.context.related:patient",
        "path" : "DocumentReference.context.related",
        "sliceName" : "patient",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "DocumentReference.context.related:anhaenge",
        "path" : "DocumentReference.context.related",
        "sliceName" : "anhaenge",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              "http://hl7.org/fhir/StructureDefinition/DocumentReference"
            ]
          }
        ],
        "mustSupport" : true
      }
    ]
  },
  "text" : {
  }
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.